package pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.annotation.Resource;
import java.math.BigDecimal;
import java.util.List;

/**
 * 采购单主信息表
 * @ClassName 刘星宇
 * @Description TODO
 * @date 2022/11/23 15:33
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PoMain {
    private BigDecimal poId;  //采购单编号
    private String venderCode; //供应商编号
    private String account;    //用户账号
    private String createTime; //创建时间
    private Float tipFee;//附加费用
    private Float productTotal;//产品总价
    private Float poTotal;// 总价格
    private int payType;  // 付款方式
    private Float prePayFee; //最低预付款金额
    private int status;  //处理状态
    private String remark;  //备注
    private String venderName; //供应商名称
    private String endTime;//了结时间
    private String endUser;//了结用户
    private String stockUser;//入库登记用户
    private String stockTime;//入库登记时间
    private String payTime;//付款登记时间
    private String payUser;//付款登记用户
    private String prePayTime;//预付款登记时间
    private String prePayUser;//预付款登记用户
    private Float unPay;//未付款金额
    private int poMainCount;//采购单数
    private int endCount;//已了结单数
    private Float poTotalPrice;//采购总金额
    private Float payPrice;//已付款金额
    private String scmuserName;
    private int currentPage;
    private int pageSize;
    private String date;
    @Resource
    private List<PoItem> poItems;//产品明细
}
